package cn.itcast.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ContentRowHeight(20)  //数据行高数
@HeadRowHeight(20)     //表头高度
@ColumnWidth(15)       //列宽
public class FinanceVo implements Serializable {
    @ExcelProperty(value="制单日期")
    @DateTimeFormat("yyyy-MM-dd")
    private Date inputDate;//制单日期
    @ExcelProperty(value="合同或确认书号")
    private String customerContract;//合同或确认书号
    @ExcelProperty(value="收货人及地址")
    private String consignee;//收货人及地址
    @ExcelProperty(value="装运港")
    private String shipmentPort;//装运港
    @ExcelProperty(value="目的港")
    private String destinationPort;//目的港
    @ExcelProperty(value="价格条件")
    private String priceCondition;//价格条件

}
